<?php
namespace Index\Controller;
use Think\Controller;
class SystemController extends Controller{

    public function _initialize(){
        if(C('WEB.web_stats') == 0){

        }
        $this->slide = M('slide')->order('sort')->select(); //获取幻灯片
        $this->navs = D('Navs')->order('nav_order')->select(); //获取导航
    }

}